package com.sixth.dao;

import com.sixth.entity.Keyboardcolor;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface KeyboardcolorDao {
    int deleteByPrimaryKey(Integer keyboardcolorid);

    int insert(Keyboardcolor record);

    int insertSelective(Keyboardcolor record);

    Keyboardcolor selectByPrimaryKey(Integer keyboardcolorid);

    int updateByPrimaryKeySelective(Keyboardcolor record);

    int updateByPrimaryKey(Keyboardcolor record);

    List<Keyboardcolor> selectAllKeyboard(@Param("keyboardcolorid") Integer keyboardcolorid, @Param("keyboardcolorname") String keyboardcolorname);

    List<Keyboardcolor> selectKeyboardCondition(@Param("keyboardcolorid") String keyboardcolorid, @Param("keyboardcolorname") String keyboardcolorname);


    Integer addKeyboard(@Param("keyboardcolorname") String keyboardcolorname);

    Integer updateKeyboard(@Param("keyboardcolor") Keyboardcolor keyboardcolor);

    List<Keyboardcolor> selectboardCondition(@Param("keyboardcolorid") String keyboardcolorid ,@Param("keyboardcolorname") String keyboardcolorname );
}